var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": {
      "trader": "54709",
      "dataDate": "2017-12-18",
      "orderId": "823293",
      "symbol": "000826.SZ",
      "tradeType": "Buy",
      "price": 34.19,
      "quantity": 200,
      "fee": 0.62,
      "timestamp": "Dec 18, 2017 2:45:26 PM",
      "tradeDate": "2017-12-18",
      "closedPositionList": [
        {
          "trader": "54709",
          "dataDate": "2017-12-18",
          "symbol": "000826.SZ",
          "tradeType": "Sell",
          "buyPrice": 34.19,
          "sellPrice": 34.25,
          "quantity": 200,
          "fee": 8.1,
          "openTime": "Dec 18, 2017 2:44:31 PM",
          "closeTime": "Dec 18, 2017 2:45:26 PM",
          "openOrderId": "823232",
          "closeOrderId": "823293",
          "tradeDate": "2017-12-18"
        }
      ]
    }
  })
}
